package vip.xiaonuo.smzq.modular.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import vip.xiaonuo.smzq.modular.dictionary.entity.Cb13Zycllx;
import vip.xiaonuo.smzq.modular.dictionary.mapper.Cb13ZycllxMapper;
import vip.xiaonuo.smzq.modular.dictionary.service.ICb13ZycllxService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vip.xiaonuo.common.page.CommonPageRequest;

import javax.annotation.Resource;
import java.util.List;

/**
 * 资源储量类型 服务实现类
 *
 * @author eomer
 * @since 2024-02-21
 */
@Service
public class Cb13ZycllxServiceImpl extends ServiceImpl<Cb13ZycllxMapper, Cb13Zycllx> implements ICb13ZycllxService {

    @Resource
    private Cb13ZycllxMapper cb13ZycllxMapper;

    @Override
    public Page<Cb13Zycllx> page(Cb13Zycllx cb13Zycllx) {
        QueryWrapper<Cb13Zycllx> queryWrapper = new QueryWrapper<>();
        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
    }

    @Override
    public List<Cb13Zycllx> getList() {
        return cb13ZycllxMapper.selectList(new QueryWrapper<>());
    }
}
